package com.lei.day09rikao.fragment;


import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.lei.day09rikao.R;
import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer;

/**
 * A simple {@link Fragment} subclass.
 */
public class Fragment2 extends Fragment {
    private StandardGSYVideoPlayer stand;



    public Fragment2() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View inflate = inflater.inflate(R.layout.fragment_fragment2, container, false);
        stand = (StandardGSYVideoPlayer) inflate.findViewById(R.id.stand);
        stand.setUp("http://ivi.bupt.edu.cn/hls/cctv6hd.m3u8",true,"CCTV-6");

        return inflate;
    }

}
